package com.zhiliao.module.web.cms.service;

import com.zhiliao.common.base.BaseService;
import com.zhiliao.mybatis.model.TCmsModelFiled;

import java.util.List;

/**
 * Description:
 *
 * @author qirong
 * @date 2018-10-26
 */
public interface ModelFiledService extends BaseService<TCmsModelFiled,Integer> {

    /**
     * findModelFiledByFiledName
     * @param filedName
     * @return
     */
    TCmsModelFiled findModelFiledByFiledName(String filedName);

    /**
     * findModelFiledListByModelId
     * @param modelId
     * @return
     */
    List<TCmsModelFiled> findModelFiledListByModelId(Integer modelId);

}
